projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5641fba
)
Allow to use -gtk-icon-source for handles
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Jul 2014 17:56:14 +0000
(13:56 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Jul 2014 17:56:14 +0000
(13:56 -0400)
This will let us use icons for touch selection handles, once
they use gtk_render_handle.
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 402634df4c4738b58afca68ad875783abc6a49fd..ac4009e6eb8bba6dbd77d7bdf0ccacf32d1ff943 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-2252,6
+2252,9
@@
gtk_theming_engine_render_handle (GtkThemingEngine *engine,
gint xx, yy;
gboolean has_image;
+ if (render_icon_image (engine, cr, x, y, width, height))
+ return;
+
cairo_save (cr);
flags = gtk_theming_engine_get_state (engine);